<html>
    <head>
    	<?php echo APP_BASE; ?>
		<title><?php echo APP_TITLE; ?> - <?php echo $this->pageTitle; ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<link rel="stylesheet" type="text/css" href="recursos/css/plantilla.css"/>
		<link rel="stylesheet" type="text/css" href="recursos/css/menu.css">
		<link rel="stylesheet" type="text/css" href="recursos/css/newCalendar3.css">
		<!--imprensindible-->
		<script type="text/javascript" src="recursos/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript" src="recursos/js/jquery.functions.js"></script>
		<!-- menu -->
		<script type="text/javascript" src="recursos/js/jquery.easing.min.js"></script>
		<script type="text/javascript" src="recursos/js/jquery.lavalamp.js"></script>
		<script type="text/javascript" src="recursos/js/efectoMenu.js"></script>
		<script type="text/javascript" src="recursos/js/newCalendar3.js"></script>
		<script type="text/javascript" src="recursos/js/newTools.js"></script>
        <script type="text/javascript">
            window.onload = function(){ 
                var margen = 200;
                var widthAplicacion = 800;
                var widthPantalla = document.body.clientWidth - margen - widthAplicacion;
                document.getElementById('divContenedor').style.marginLeft = 100 + (widthPantalla/2);
                document.getElementById('divBanner').style.marginLeft = 100 + (widthPantalla/2);
            }
        </script>
    </head>
    <body>
		<script type='text/javascript' src='recursos/js/wz_tooltip.js'></script>
        <div id="divCabecera">
            <div id="divBanner"></div>
        </div>
        <div id="divContenedor">
            <div id="divCuerpo">
                <div id="divAplicacion">
                    <div id="divMenu">
						<div id="menu-top-center">
							<ul class="lavaLampNoImage">
								<li <?php echo ($_SESSION["pestania"] == 1 ? 'class="current_page_item"' : ""); ?>><a href="proceso/">Procesar</a></li>
								<li <?php echo ($_SESSION["pestania"] == 2 ? 'class="current_page_item"' : ""); ?>><a href="usuario/salir">Salir</a></li>
							</ul>
						</div>
					</div>
                    <div id="divComponentes">
                    	<div align="right"><?php echo LocalUser::getCurrentUser()->getNombres()." ".LocalUser::getCurrentUser()->getApellidos();?>&nbsp;&nbsp;</div><br/>
                        <?php $this->showContent(); ?>
                    </div>
                </div>
                <div id="divPie"></div>
            </div>
        </div><br/>
    </body>
</html>
